package com.example.springsecurity.security.mapper;

import com.example.springsecurity.security.pojo.Permission;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PermissionMapper {

    //根据用户id查询权限
    public List<Permission> selectByUserId(Integer userId);
}
